package com.ceair.flight.refund.location.dao;

import com.ceair.flight.refund.dto.external.PayDto;
import com.ceair.flight.refund.dto.external.PayProductDto;
import com.ceair.flight.refund.location.model.PayDO;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 支付查询接口
 *
 * @author Guy
 *
 */
public interface IPayDao {

	public List<PayDO> queryPayDOById(PayDto payDto);

	public PayDO getPayDOById(String id);

	public List<PayDO> queryPayDoByPayNo(PayDO cond);

	public List<PayDO> getPayDOAndPayProductDOList(PayProductDto PayProductDto);

	public PayDO getPayDOByOrderNo(String orderNo);

	public Set<PayDO> getPayListByOrderNo(String orderNo);

	public List<PayDO> getPayDOListBySuccessNos(List<Long> paySuccessNos);

	public List<PayDO> getPayDOListByIndistinctProductNo(String productno);

	/**
	 * 根据订单号、机票订单号查询最后一次支付信息
	 * @return
	 */
	public List<PayDO> getPayDOByOrderNoAndFlightOrdNo(Map<String, Object> map);


}
